package com.winai.launcher.bean;

import com.jungle.mediaplayer.base.VideoInfo;

import java.util.List;

/**
 * 作者：康少
 * 时间：2020/7/28 0028
 * 说明：思必驰传出来的 音频
 */
public class Mp3Bean {
    /**
     * match : 1
     * widgetName : music
     * skillName : 曲艺
     * itemsPerPage : 5
     * skillId : 2019031500001049
     * currentPage : 1
     * intentName : 播放曲艺
     * totalPages : 4
     * errorcode : 100100
     * content : [{"linkUrl":"http://oss.iot.aispeech.com/dcmp/29A4D8D018D9CA6F283788BE391B399C.mp3","title":"经典大实话","extra":{"artist":"郭德纲，于谦","episode":9,"title":"经典大实话","resType":"mp3","mediaCategory":"曲艺,相声"},"album":"郭德纲于谦高清相声","subTitle":"郭德纲，于谦","imageUrl":"http://oss.iot.aispeech.com/dcmp/72382AA0DDAEBC9C640A5518D50A2B3D.png"}]
     * taskName : 曲艺
     * dataSource : api
     * type : media
     * count : 1
     * duiWidget : media
     * name : music
     */

    private int match;
    private String widgetName;
    private String skillName;
    private int itemsPerPage;
    private String skillId;
    private int currentPage;
    private String intentName;
    private int totalPages;
    private int errorcode;
    private String taskName;
    private String dataSource;
    private String type;
    private int count;
    private String duiWidget;
    private String name;
    private List<ContentBean> content;

    public int getMatch() {
        return match;
    }

    public void setMatch(int match) {
        this.match = match;
    }

    public String getWidgetName() {
        return widgetName;
    }

    public void setWidgetName(String widgetName) {
        this.widgetName = widgetName;
    }

    public String getSkillName() {
        return skillName;
    }

    public void setSkillName(String skillName) {
        this.skillName = skillName;
    }

    public int getItemsPerPage() {
        return itemsPerPage;
    }

    public void setItemsPerPage(int itemsPerPage) {
        this.itemsPerPage = itemsPerPage;
    }

    public String getSkillId() {
        return skillId;
    }

    public void setSkillId(String skillId) {
        this.skillId = skillId;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public String getIntentName() {
        return intentName;
    }

    public void setIntentName(String intentName) {
        this.intentName = intentName;
    }

    public int getTotalPages() {
        return totalPages;
    }

    public void setTotalPages(int totalPages) {
        this.totalPages = totalPages;
    }

    public int getErrorcode() {
        return errorcode;
    }

    public void setErrorcode(int errorcode) {
        this.errorcode = errorcode;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getDataSource() {
        return dataSource;
    }

    public void setDataSource(String dataSource) {
        this.dataSource = dataSource;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getDuiWidget() {
        return duiWidget;
    }

    public void setDuiWidget(String duiWidget) {
        this.duiWidget = duiWidget;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<ContentBean> getContent() {
        return content;
    }

    public void setContent(List<ContentBean> content) {
        this.content = content;
    }

    public static class ContentBean extends VideoInfo {
        /**
         * linkUrl : http://oss.iot.aispeech.com/dcmp/29A4D8D018D9CA6F283788BE391B399C.mp3
         * title : 经典大实话
         * extra : {"artist":"郭德纲，于谦","episode":9,"title":"经典大实话","resType":"mp3","mediaCategory":"曲艺,相声"}
         * album : 郭德纲于谦高清相声
         * subTitle : 郭德纲，于谦
         * imageUrl : http://oss.iot.aispeech.com/dcmp/72382AA0DDAEBC9C640A5518D50A2B3D.png
         */

        private String linkUrl;
        private String title;
        private ExtraBean extra;
        private String album;
        private String subTitle;
        private String imageUrl;

        public String getLinkUrl() {
            return linkUrl;
        }

        public void setLinkUrl(String linkUrl) {
            this.linkUrl = linkUrl;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public ExtraBean getExtra() {
            return extra;
        }

        public void setExtra(ExtraBean extra) {
            this.extra = extra;
        }

        public String getAlbum() {
            return album;
        }

        public void setAlbum(String album) {
            this.album = album;
        }

        public String getSubTitle() {
            return subTitle;
        }

        public void setSubTitle(String subTitle) {
            this.subTitle = subTitle;
        }

        public String getImageUrl() {
            return imageUrl;
        }

        public void setImageUrl(String imageUrl) {
            this.imageUrl = imageUrl;
        }

        public static class ExtraBean {
            /**
             * artist : 郭德纲，于谦
             * episode : 9
             * title : 经典大实话
             * resType : mp3
             * mediaCategory : 曲艺,相声
             */

            private String artist;
            private int episode;
            private String title;
            private String resType;
            private String mediaCategory;

            public String getArtist() {
                return artist;
            }

            public void setArtist(String artist) {
                this.artist = artist;
            }

            public int getEpisode() {
                return episode;
            }

            public void setEpisode(int episode) {
                this.episode = episode;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getResType() {
                return resType;
            }

            public void setResType(String resType) {
                this.resType = resType;
            }

            public String getMediaCategory() {
                return mediaCategory;
            }

            public void setMediaCategory(String mediaCategory) {
                this.mediaCategory = mediaCategory;
            }
        }
    }
}
